package com.itheima.manager.dao;

import com.itheima.manager.domain.Subway;

import java.io.*;
import java.util.ArrayList;
import java.util.Properties;

public class SubwayDao {
    static ArrayList<Subway> list = new ArrayList<Subway>();

    public Properties login() {
        Properties prop=null;
        try {
            prop=new Properties();
            BufferedReader br=new BufferedReader(new FileReader("地铁系统案例三\\prop.properties"));
            prop.load(br);
            br.close();
        } catch (IOException e) {
            e.printStackTrace();
        }finally {
            return prop;
        }
    }
}
